#ifndef _JUMPSTATE_H_
#define _JUMPSTATE_H_

#include "State.h"
#include "AITypes.h"
#include <Timer.h>

class JumpState : public State
{
public:
	JumpState();
	~JumpState();

	virtual VOID			Init();
	virtual VOID			OnEnter( LPARAM param1, LPARAM param2, LPARAM param3 );
	virtual VOID			OnExit();
	virtual VOID			OnUpdate( DWORD dwDeltaTick );
	virtual VOID			OnAIMsg( AI_MSG *pMsg );

protected:
	virtual VOID			OnMsgForceAttack( AI_MSG *pMsg ) {}
	virtual VOID			OnMsgLeaveField( AI_MSG *pMsg );
	virtual VOID			OnMsgLetsGo( AI_MSG *pMsg );
	virtual VOID			OnMsgEnemyFound( AI_MSG *pMsg );
	virtual VOID			OnMsgCommandFollow( AI_MSG *pMsg );
	virtual VOID			OnMsgUseSkill( AI_MSG *pMsg ) {}

private:
	util::Timer				m_JumpTimer;
	WzVector				m_wvTargetPos;
};

#endif